#!/bin/bash
cd $src
current_dir=$(pwd)
echo "当前工作目录是: $current_dir"

sed -i.bak '2i\if [ -f "/opt/lightdb/deployTool.sh" ]; then sh /opt/lightdb/deployTool.sh; fi' ./deploy/scripts/start.sh

echo "修改start.sh成功"